package api

import (
	auto "beergo/app/check/auto/controller"
	"beergo/app/check/conf"
	"github.com/beego/beego/v2/server/web"
)

type ServiceTypeAdminController struct {
	auto.ServiceTypeController
}

func init() {
	web.Router(conf.UrlPrefix + "/ServiceType/:id", 		&ServiceTypeAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefix + "/ServiceType/info", 		&ServiceTypeAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefix + "/ServiceType/scan", 		&ServiceTypeAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefix + "/ServiceType/list", 	    &ServiceTypeAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefix + "/ServiceType/update", 	&ServiceTypeAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefix + "/ServiceType/create", 	&ServiceTypeAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefix + "/ServiceType/copy", 	    &ServiceTypeAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefix + "/ServiceType/edit", 	    &ServiceTypeAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefix + "/ServiceType/delete", 	&ServiceTypeAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefix + "/ServiceType/:id/:field", &ServiceTypeAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefix + "/ServiceType/choice", &ServiceTypeAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefix + "/ServiceType/category", &ServiceTypeAdminController{}, "*:CategoryAction")
}
//func (this *ServiceTypeAdminController) Prepare() {}
//func (this *ServiceTypeAdminController) ListAction() {}
//func (this *ServiceTypeAdminController) GetAction() {}
//func (this *ServiceTypeAdminController) InfoAction() {}
//func (this *ServiceTypeAdminController) ScanAction() {}
//func (this *ServiceTypeAdminController) CreateAction() {}
//func (this *ServiceTypeAdminController) UpdateAction() {}
//func (this *ServiceTypeAdminController) CopyAction() {}
//func (this *ServiceTypeAdminController) DeleteAction() {}
//func (this *ServiceTypeAdminController) EditAction() {}
//func (this *ServiceTypeAdminController) SonsAction() {}
//func (this *ServiceTypeAdminController) ChoiceAction() {}
//func (this *ServiceTypeAdminController) CategoryAction() {}
